package edu.cmu.cs.cs214.hw9.client.controllers;

/**
 * An event object pushed to controllers to notify them of what the user has done.
 */
public class FacelookEvent {
	private Event event;
	private Object param;
	
	public FacelookEvent(Event e, Object param) {
		event = e;
		this.param = param;
	}
	
	/**
	 * Returns the type of event this object encapsulates.
	 * 
	 * @return Type of event.
	 */
	public Event getEvent() { return event; }
	
	/**
	 * Returns the information/data associated with this event.
	 * 
	 * @return Associated event info.
	 */
	public Object getParam() { return param; }
}
